<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 矢量图 BFC -->
    <svg 
        xmlns="http://www.w3.org/2000/svg"
        version="1.1"
        width="400"
        hight="200"
        viewBox="0,0,400,200"
    >
        <!-- svg内可以声明图形 -->
        <rect height="95"
            width="95"
            x="5"
            y="5"
            stroke="yellow"
            stroke-width="10"
            fill="red" />
            <text
                fill="black"
                font-family="PingFangSC-Regular,sans-serif"
                font-size="25"
                x="150"
                y="100"
            >
                hello word
            </text>
    </svg>
</body>
</html>